@import url('https://fonts.googleapis.com/css2?family=Mulish:ital,wght@0,200..1000;1,200..1000&family=Work+Sans:ital,wght@0,100..900;1,100..900&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Mulish", sans-serif;
    font-optical-sizing: auto;
    font-style: normal;
}


.top-bar-con {
    width: 1000px;
    margin: 0 auto;
    padding: 40px 40px;
}

.top-bar {
    margin-bottom: 25px;
    display: flex;
    justify-content: space-between;
}

/* top bar responsiveness */
@media (max-width: 992px) {
    .top-bar-con {
        width: 100%;
    }

    .top-bar {
        flex-direction: row;
    }
}

/* 780px breakpoint */
@media (max-width: 780px) {
    .top-bar-con {
        width: 100%;
    }

    .top-bar {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .results {
        font-size: 15px;
    }
}

/* 480px breakpoint */
@media (max-width: 480px) {
    .top-bar-con {
        width: 100%;
    }

    .results {
        font-size: 14px;
        text-align: center;
        width: 100%;
    }

    .top-bar {
        flex-direction: column;
        align-items: center;
    }
}


/* NO PRODUCT MESSAGE */
/* Base styling */
.no-products-message {
    background: rgba(231, 25, 25, 0.822);
    color: white;
    padding: 15px;
    border-radius: 6px;
    text-align: center;
    margin: 20px auto;
    font-size: 1rem;
    max-width: 800px;
}

/* Tablet screens */
@media (max-width: 768px) {
    .no-products-message {
        font-size: 0.95rem;
        padding: 12px;
        margin: 15px auto;
        max-width: 90%;
    }
}

/* Mobile screens */
@media (max-width: 480px) {
    .no-products-message {
        font-size: 0.9rem;
        padding: 10px;
        margin: 10px auto;
        border-radius: 4px;
        max-width: 95%;
        word-break: break-word;
        /* prevent overflow for long category names */
    }
}


.results {
    font-size: 14px;
    color: #333;
}

.sort-select {
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    outline: none;
}

/* Product Grid */
.product-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    width: 1000px;
    margin: 0 auto;
    padding: 40px 40px;
}

.product-card {
    background: #fff;
    /* border-radius: 6px; */
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
}

.product-card img {
    width: 100%;
    height: 260px;
    object-fit: cover;
}

.product-info {
    padding: 15px;
    text-align: center;
}

.product-info h3 {
    font-size: 14px;
    font-weight: bold;
    color: #000;
    line-height: 1.4;
}

/* modal section */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    justify-content: center;
    align-items: center;
}

.modal-content {
    background: #fff;
    padding: 40px;
    width: 80%;
    max-width: 900px;
    display: flex;
    gap: 20px;
    position: relative;
    animation: fadeIn 0.3s ease-in-out;
}

.modal-text h2 {
    margin-top: 0;
}

.close {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 25px;
    cursor: pointer;
}

.prod-content {
    margin: 20px 0;
    font-size: 14px;
    line-height: 1.6;
    color: #555;
}

.padw {
    margin: 20px 0;
    font-size: 14px;
    line-height: 1.6;
    color: #555;
}


.modal-content img {
    width: 400px;
    /* border-radius: 10px; */
}

.modal-text {
    max-width: 500px;
}

.modal-text h2 {
    margin-top: 0;
}

.close {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 25px;
    cursor: pointer;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}


.stars {
    font-size: 14px;
    margin: 30px 0px;
}

.stars .fa-solid {
    color: #f4c542;
}

.stars .fa-regular {
    color: #ccc;
}

.stars span {
    color: #555;
    font-size: 14px;
    margin-left: 8px;
}

/* tabs section */

/* --- Product Page Tabs --- */
#productPage {
    max-width: 900px;
    margin: 40px auto;
    padding: 20px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    font-family: "Segoe UI", sans-serif;
}

/* Tabs */
.tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

.tabs button {
    padding: 10px 20px;
    border: none;
    border-radius: 8px 8px 0 0;
    background: #f0f0f0;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    color: #444;
}

.tabs button:hover {
    background: #ffa94d;
    color: #fff;
}

.tabs button.active {
    background: limegreen;
    color: #fff;
    box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.1);
}

/* Tab content box */
.tab-content {
    background: #fff;
    padding: 25px;
    border-radius: 0 8px 8px 8px;
    border: 1px solid #eee;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    animation: fadeIn 0.3s ease-in-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(8px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* --- Description Section --- */
#tab-desc h3 {
    font-size: 22px;
    font-weight: bold;
    margin-bottom: 12px;
    color: #222;
}

#tab-desc p {
    font-size: 16px;
    color: #555;
    line-height: 1.6;
    text-align: justify;
}

#tab-desc img {
    max-width: 400px;
    display: block;
    margin: 0 auto 20px;
    border-radius: 10px;
}

/* --- Reviews Section --- */
#tab-reviews h3 {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 16px;
    color: #222;
}

/* Review form */
#reviewForm {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-bottom: 20px;
}

#reviewForm label {
    font-weight: 600;
    color: #444;
}

#reviewForm textarea,
#reviewForm select {
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 14px;
    resize: vertical;
    transition: 0.2s;
}

#reviewForm textarea:focus,
#reviewForm select:focus {
    border-color: limegreen;
    box-shadow: 0 0 5px rgba(255, 165, 0, 0.5);
    outline: none;
}

#reviewForm button {
    background: limegreen;
    color: white;
    font-weight: bold;
    border: none;
    padding: 12px;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.3s;
}

#reviewForm button:hover {
    background: #e68900;
}

/* --- Reviews List --- */
#reviewsList p {
    font-size: 14px;
    color: #555;
}

#reviewsList div {
    margin-bottom: 12px;
    padding: 12px;
    border: 1px solid #eee;
    border-radius: 8px;
    background: #fafafa;
}

#reviewsList strong {
    color: limegreen;
}


#reviewForm input[type="email"] {
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 14px;
    transition: 0.2s;
}

#reviewForm input[type="email"]:focus {
    border-color: limegreen;
    box-shadow: 0 0 5px rgba(255, 165, 0, 0.5);
    outline: none;
}


/* footer css  */
Base styling .no-products-message {
    background: #e7f4f9;
    color: #0a6e94;
    padding: 15px;
    border-radius: 6px;
    text-align: center;

    font-size: 1rem;

}

/* Tablet screens */
@media (max-width: 768px) {
    .no-products-message {
        font-size: 0.95rem;
        padding: 12px;
        margin: 15px auto;
        max-width: 90%;
    }
}

/* Mobile screens */
@media (max-width: 480px) {
    .no-products-message {
        font-size: 0.9rem;
        padding: 10px;
        margin: 10px auto;
        border-radius: 4px;
        max-width: 95%;
        word-break: break-word;
        /* prevent overflow for long category names */
    }
}









/* Hover icons */
.product-actions {
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    background: transparent;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.product-card:hover .product-actions {
    opacity: 1;
}

.product-actions a {
    background: #fff;
    padding: 10px;
    border: 1px solid #eee;
    margin: 2px 0;
    text-align: center;
    color: #333;
    font-size: 14px;
    transition: background 0.3s ease;
}

.product-actions a:hover {
    background: limegreen;
    color: #fff;
}

/* Hide inactive pages */
.product-grid {
    display: none;
}

.product-grid.active {
    display: grid;
}

/* Pagination styles */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 30px 0;
    gap: 6px;
}

.pagination button {
    padding: 8px 14px;
    border: 1px solid #ddd;
    background: #fff;
    cursor: pointer;
    font-size: 14px;
    border-radius: 4px;
    transition: background 0.3s ease;
}

.pagination button:hover {
    background: limegreen;
    color: #fff;
}

.pagination .active {
    background: limegreen;
    color: #fff;
    border-color: limegreen;
}





/* Responsive Layout */
@media (max-width: 992px) {
    .product-grid {
        grid-template-columns: repeat(2, 1fr);
        width: 100%;
    }
}

@media (max-width: 768px) {
    .product-grid {
        grid-template-columns: 1fr;
        width: 100%;
    }
}



.slideshow {
    position: relative;
    width: 100%;
    height: 80vh;
    overflow: hidden;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transform: scale(1);
    transition: opacity 1s ease-in-out;
}

.slide.active {
    opacity: 1;
    animation: zoomIn 6s ease-in-out forwards;
}

@keyframes zoomIn {
    from {
        transform: scale(1);
    }

    to {
        transform: scale(1.2);
    }
}


.hero {
    position: relative;
    background: url('/Images/pexels-falling4utah-1080721.jpg') no-repeat center center/cover;
    height: 250px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    text-align: center;
}

.hero h1 {
    font-size: 2.5rem;
    font-weight: bold;
    z-index: 2;
}

/* Overlay to darken background */
.hero::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
}

/* Breadcrumb */
.breadcrumb {
    background: #fff;
    padding: 10px 20px;
    font-size: 14px;
    display: inline-block;
    border-radius: 4px;
    margin: -35px 20px 0 0;
    position: relative;
    z-index: 3;
    float: right;
}

.breadcrumb a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
}

.breadcrumb span {
    margin: 0 5px;
}

.breadcrumb .active {
    color: limegreen;
    /* limegreen color for active page */
    font-weight: bold;
}



.flex1 {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 40px;
    background: black;
    /* margin-bottom: 20px; */
}

.flex1 .first-row {
    display: flex;
    align-items: center;
    gap: 20px;
    color: white;
}

.flex1 .first-row .icons {
    display: flex;
    gap: 10px;
}

.flex1 .first-row .icons i {
    border: 1px solid limegreen;
    padding: 10px 10px;
    border-radius: 50px;
    color: limegreen;
    font-size: 18px;
}

.flex1 .contact-section {
    display: flex;
    gap: 20px;
}

.contact-section a {
    text-decoration: none;
    font-size: 15px;
    color: grey;
}

.contact-section i {
    color: limegreen;
}

.logo {
    width: 200px;
}


/* Default navbar */
.nav-bar {
    display: flex;
    padding: 20px 40px;
    justify-content: space-between;
    align-items: center;
    background: white;
    position: sticky;
    top: 0;
    z-index: 999;
}

/* Nav links inline for desktop */
.nav-links {
    display: flex;
    gap: 20px;
    list-style: none;
    transition: all 0.3s ease-in-out;
}

.nav-links li {
    display: inline-block;
    margin: 0 15px;
}

.nav-links li a {
    text-decoration: none;
    font-size: 18px;
    color: black;
    transition: color 0.3s ease;
}

.nav-links li a:hover {
    color: limegreen;
}

/* Hamburger icon (hidden on desktop) */
.menu-toggle {
    display: none;
    font-size: 28px;
    cursor: pointer;
}

/* Button styles */
.btn1 .btn {
    padding: 15px 40px;
    font-size: 14px;
    background-color: limegreen;
    color: white;
    border-radius: 6px;
    border: none;
    outline: none;
    cursor: pointer;
    transition: 0.5s ease-in-out;
}

.btn1 .btn:hover {
    background-color: limegreen;
    color: white;
}

/* RESPONSIVENESS */
@media (max-width: 992px) {
    .nav-bar {
        padding: 15px 20px;
    }

    .menu-toggle {
        display: block;
        /* show hamburger */
    }

    .nav-links {
        position: absolute;
        top: 60px;
        left: -100%;
        flex-direction: column;
        width: 50%;
        background: white;
        text-align: center;
        gap: 0;
        transition: left 0.3s ease-in-out;
    }

    .nav-links li {
        margin: 15px 0;
    }

    /* When active */
    .nav-links.active {
        left: 0;
    }
}

/* Smaller screens */
@media (max-width: 576px) {
    .btn1 .btn {
        padding: 10px 20px;
        font-size: 13px;
    }
}


.footer {
    background: #111;
    color: #bbb;
    padding: 60px 40px 20px;
    font-family: Arial, sans-serif;
}

.footer-container {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 30px;
}

.footer-about h3 {
    color: #fff;
    font-size: 18px;
    margin-bottom: 15px;
}

.footer-about p {
    font-size: 14px;
    line-height: 1.6;
    margin: 10px 0;
}

.footer-about i {
    color: limegreen;
    margin-right: 8px;
}

.footer-links h4 {
    font-size: 16px;
    margin-bottom: 15px;
    color: #fff;
}

.footer-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links ul li {
    margin-bottom: 8px;
}

.footer-links ul li a {
    text-decoration: none;
    color: #bbb;
    font-size: 14px;
    transition: 0.3s;
}

.footer-links ul li a:hover {
    color: limegreen;
}

.footer-bottom {
    text-align: center;
    border-top: 1px solid #333;
    padding-top: 15px;
    font-size: 13px;
    color: #777;
}


/* Tablet (max-width: 992px) */
@media (max-width: 992px) {
    .flex1 {
        padding: 15px 25px;
    }

    .flex1 .first-row h3 {
        font-size: 16px;
    }

    .contact-section a {
        font-size: 14px;
    }

    .section1 {
        height: auto;
        /* allow section to grow with content */
        padding: 30px;
    }

    .section1 h1 {
        font-size: 32px;
    }

    .section1 p {
        width: 70%;
        font-size: 14px;
        line-height: 26px;
    }

    .section1 .flex2 .btn-flex2 {
        position: static;
        /* remove absolute positioning */
        margin-top: 20px;
    }

    .section1 .flex2 .btn-flex2 button {
        font-size: 15px;
        padding: 12px 30px;
    }

    .about-company {
        gap: 2rem;
        align-items: center;
    }

    .about-company .abt-img {
        width: 350px;
        height: auto;
    }

    .info1,
    .info2,
    .info3 {
        padding: 30px 10px;
        font-size: 14px;
    }

    .abt-text1 h1 {
        font-size: 32px;
    }

    .abt-text1 .p-1 p,
    .abt-text1 .p2,
    .p-2 strong,
    .list1 li {
        font-size: 16px;
    }

    .products-sec h1 {
        font-size: 32px;
    }

    .container {
        max-width: 350px;
    }

    .container img {
        width: 150px;
    }

    .container .pro h3 {
        font-size: 20px;
    }

    .container p {
        font-size: 13px;
    }

    .footer-container {
        grid-template-columns: 1fr 1fr 1fr;
        gap: 30px;
    }

    .footer-about {
        grid-column: span 3;
    }
}


@media (max-width: 768px) {
    .flex1 {
        flex-direction: column;
        /* stack items */
        align-items: flex-start;
        /* align to left */
        gap: 15px;
        padding: 15px 20px;
    }

    .flex1 .first-row {
        flex-direction: column;
        /* stack icons + text */
        align-items: flex-start;
        gap: 10px;
        text-align: left;
    }

    .flex1 .first-row h3 {
        font-size: 14px;
    }

    .contact-section {
        flex-direction: column;
        gap: 10px;
    }

    .contact-section a {
        font-size: 13px;
    }

    .nav-bar {
        flex-wrap: wrap;
        gap: 15px;
    }

    .logo {
        width: 180px;
    }

    .section1 {
        padding: 20px;
        text-align: center;
    }

    .section1 h1 {
        font-size: 26px;
    }

    .section1 p {
        width: 100%;
        font-size: 14px;
        line-height: 24px;
    }

    .section1 .flex2 {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .section1 .flex2 .btn-flex2 {
        margin-top: 15px;
    }

    .section1 .flex2 .btn-flex2 button {
        width: 80%;
        max-width: 250px;
    }

    .about-company {
        flex-direction: column;
        align-items: center;
        gap: 2rem;
        padding: 20px;
    }

    .about-company .abt-img {
        width: 100%;
        max-width: 400px;
        height: auto;
    }

    /* Stats reposition under image */
    .info1,
    .info2,
    .info3 {
        position: static;
        display: inline-block;
        margin: 10px;
    }

    .text-abt-img {
        text-align: center;
        margin-top: 15px;
    }

    .abt-text1 h1 {
        font-size: 26px;
        text-align: center;
    }

    .abt-text1 .p-1 p,
    .abt-text1 .p2,
    .p-2 strong,
    .list1 li {
        font-size: 15px;
    }

    .btn-abt {
        text-align: center;
        margin-top: 20px;
    }

    .btn-abt button {
        width: 80%;
        max-width: 250px;
    }

    .flex-container {
        grid-template-columns: 1fr;
        /* Stack cards */
    }

    .container {
        flex-direction: column;
        max-width: 90%;
        text-align: center;
    }

    .container img {
        width: 100%;
        height: 200px;
    }

    .container .pro {
        padding: 15px;
    }

    .container button {
        width: 100%;
        padding: 10px;
    }

    .btn-explore {
        margin-top: 1.5rem;
    }

    .footer-container {
        grid-template-columns: 1fr 1fr;
        gap: 20px;
    }

    .footer-about {
        grid-column: span 2;
    }

    .footer-links h4 {
        font-size: 15px;
    }

    .footer-links ul li a {
        font-size: 13px;
    }


}

@media (max-width: 480px) {
    .flex1 {
        padding: 10px 15px;
    }

    .flex1 .first-row h3 {
        font-size: 13px;

    }

    .flex1 .first-row .icons i {
        font-size: 14px;
        padding: 8px;
    }

    .contact-section a {
        font-size: 12px;
    }

    .section1 {
        padding: 15px;
    }

    .section1 h1 {
        font-size: 20px;
    }

    .section1 p {
        font-size: 13px;
        line-height: 22px;
    }

    .section1 .flex2 .btn-flex2 button {
        font-size: 13px;
        padding: 10px 20px;
        width: 90%;

    }


    .abt-text1 h1 {
        font-size: 20px;
    }

    .abt-text1 .p-1 p,
    .abt-text1 .p2,
    .p-2 strong,
    .list1 li {
        font-size: 13px;
        line-height: 22px;
    }

    .btn-abt button {
        font-size: 14px;
        padding: 10px 20px;
        width: 90%;
    }

    .products-sec h1 {
        font-size: 24px;
    }

    .container .pro h3 {
        font-size: 18px;
    }

    .container p {
        font-size: 12px;
        line-height: 18px;
    }

    .btn4 {
        width: 90%;
        font-size: 0.9rem;
        padding: 10px 20px;
    }

}